<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<html>
<head>
	<script type="text/javascript" src="<c:url value="/scripts/dom/pedidos/frm_atiende_pedidos_dom.js" /> "></script>
</head>
<body>
	
		<h2 align="center">ATENDER PEDIDOS</h2>
		<form action="" id="pedidoForm" method="GET" >
		<table border="0" width="800" align="center" >
			
			<tr>
				<td>
					<fieldset>
					<table width="100%">
						<tr>
							<td width="40%">
									
									<table width="100%">
										<tr>
											<td>
												<label>EMPRESA</label>
											</td>
											<td class="td_izq">
												<form:select path="lista_empresas" class="cmb1" id="cmb_empresa" name="cmb_empresa" disabled="disabled">
															<form:options items="${lista_empresas}" itemValue="id_empresa" itemLabel="razon"></form:options>
												</form:select>
											</td>
										</tr>
										
									</table>
								</td>
								<td width="60%">
									<table width="100%">
										<tr>
											<td>
												<label>ZONA</label>
											</td>
											<td>
												<form:select path="lista_zonas" class="cmb1" id="zona" name="cmb_zona">
														<c:forEach items="${lista_zonas}" var="zona" >
															<form:option value="${zona.id_zona}" label="${zona.nom_zona}"></form:option>
														</c:forEach>
												</form:select>
											</td>
										</tr>

									</table>
								</td>
						</tr>
						<tr align="center">
							<td colspan="4">
								<a id="btn_buscar"></a>
							</td>
							
						</tr>
					</table>
					</fieldset>
				</td>
				
			</tr>
			<tr>
				<td COLSPAN="4" class="content-tabla">
						
						<fieldset>
							<legend>PEDIDOS ENCONTRADOS</legend>
							<div id="panel_resultados">
							<table  align="center" class="ui-widget ui-widget-content tablesorter" id="tb_sumi">
							<tr class="ui-widget-header">
								<th width='30'>Cod.Pedido</th>
								<th width='300'>Localidad</th>
								<th width='20'>Estado</th>
								<th  width='35'>F.Emision</th>
								<th  width='35'>Op.</th>
							</tr>
							<tbody>
							</tbody>
							</table>
							</div>
						</fieldset>
						
				</td>
			</tr>
			
		
		</table>
		</form>

</body>
</html>